home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '89 / Other stuff / MacSTILE / Sample Projects / Real-Time Primitives < prev   
Encoding:
Text File  |  1989-01-06  |  21.2 KB  |  5,313 lines  |  [TEXT/STIL]

  1. 100
  2. 30
  3. 60
  4. 200
  5. 400
  6. 40
  7. 3
  8. 4
  9. 9
  10. 36
  11. 0
  12. 12
  13. Control Port
  14. 2
  15. 2
  16. 0
  17. 0
  18. 17
  19. 3
  20. 51
  21. 0
  22. 1
  23. 9
  24. Data Port
  25. 2
  26. 2
  27. 0
  28. 0
  29. 17
  30. 0
  31. 39
  32. 0
  33. 2
  34. 12
  35. Control Link
  36. 1
  37. 2
  38. 0
  39. 2
  40. 0
  41. 0
  42. 2
  43. 0
  44.  
  45. 0
  46.  
  47. 0
  48. 1
  49. 0
  50. 1
  51. 0
  52. 2
  53. 0
  54.  
  55. 0
  56.  
  57. 1
  58. 0
  59. 0
  60. 17
  61. 2
  62. 29
  63. 1
  64. 1
  65. 3
  66. 9
  67. Data Link
  68. 1
  69. 2
  70. 0
  71. 2
  72. 0
  73. 1
  74. 2
  75. 0
  76.  
  77. 0
  78.  
  79. 0
  80. 1
  81. 0
  82. 1
  83. 1
  84. 2
  85. 0
  86.  
  87. 0
  88.  
  89. 1
  90. 0
  91. 0
  92. 17
  93. 0
  94. 27
  95. 1
  96. 1
  97. 4
  98. 5
  99. Adder
  100. 0
  101. 2
  102. 1
  103. 5
  104. 0
  105. 0
  106. 2
  107. 5
  108. start
  109. 0
  110.  
  111. 11
  112. 1
  113. 0
  114. 1
  115. 0
  116. 2
  117. 4
  118. done
  119. 0
  120.  
  121. 14
  122. 0
  123. 0
  124. 2
  125. 1
  126. 2
  127. 1
  128. x
  129. 0
  130.  
  131. 1
  132. 1
  133. 0
  134. 3
  135. 1
  136. 2
  137. 1
  138. y
  139. 0
  140.  
  141. 3
  142. 1
  143. 0
  144. 4
  145. 1
  146. 2
  147. 1
  148. z
  149. 0
  150.  
  151. 7
  152. 0
  153. 0
  154. 21
  155. 0
  156. 2
  157. 5
  158. 10
  159. Subtracter
  160. 0
  161. 2
  162. 1
  163. 5
  164. 0
  165. 0
  166. 2
  167. 5
  168. start
  169. 0
  170.  
  171. 11
  172. 1
  173. 0
  174. 1
  175. 0
  176. 2
  177. 4
  178. done
  179. 0
  180.  
  181. 14
  182. 0
  183. 0
  184. 2
  185. 1
  186. 2
  187. 1
  188. x
  189. 0
  190.  
  191. 1
  192. 1
  193. 0
  194. 3
  195. 1
  196. 2
  197. 1
  198. y
  199. 0
  200.  
  201. 3
  202. 1
  203. 0
  204. 4
  205. 1
  206. 2
  207. 1
  208. z
  209. 0
  210.  
  211. 7
  212. 0
  213. 0
  214. 21
  215. 0
  216. 2
  217. 6
  218. 10
  219. Multiplier
  220. 0
  221. 2
  222. 1
  223. 5
  224. 0
  225. 0
  226. 2
  227. 5
  228. start
  229. 0
  230.  
  231. 11
  232. 1
  233. 0
  234. 1
  235. 0
  236. 2
  237. 4
  238. done
  239. 0
  240.  
  241. 14
  242. 0
  243. 0
  244. 2
  245. 1
  246. 2
  247. 1
  248. x
  249. 0
  250.  
  251. 1
  252. 1
  253. 0
  254. 3
  255. 1
  256. 2
  257. 1
  258. y
  259. 0
  260.  
  261. 3
  262. 1
  263. 0
  264. 4
  265. 1
  266. 2
  267. 1
  268. z
  269. 0
  270.  
  271. 7
  272. 0
  273. 0
  274. 21
  275. 0
  276. 1
  277. 7
  278. 12
  279. Synchronizer
  280. 0
  281. 2
  282. 1
  283. 2
  284. 0
  285. 0
  286. 2
  287. 5
  288. ready
  289. 0
  290.  
  291. 11
  292. 1
  293. 0
  294. 1
  295. 0
  296. 2
  297. 12
  298. synchronized
  299. 0
  300.  
  301. 14
  302. 0
  303. 0
  304. 21
  305. 0
  306. 0
  307. 8
  308. 18
  309. Constant Generator
  310. 0
  311. 2
  312. 1
  313. 3
  314. 0
  315. 0
  316. 2
  317. 5
  318. start
  319. 0
  320.  
  321. 11
  322. 1
  323. 0
  324. 1
  325. 0
  326. 2
  327. 4
  328. done
  329. 0
  330.  
  331. 14
  332. 0
  333. 0
  334. 4
  335. 1
  336. 2
  337. 1
  338. z
  339. 0
  340.  
  341. 7
  342. 0
  343. 0
  344. 21
  345. 0
  346. 6
  347. 9
  348. 15
  349. Change Detector
  350. 0
  351. 2
  352. 1
  353. 4
  354. 0
  355. 0
  356. 2
  357. 5
  358. start
  359. 0
  360.  
  361. 11
  362. 1
  363. 0
  364. 1
  365. 0
  366. 2
  367. 4
  368. done
  369. 0
  370.  
  371. 14
  372. 0
  373. 0
  374. 2
  375. 1
  376. 2
  377. 1
  378. x
  379. 0
  380.  
  381. 2
  382. 1
  383. 0
  384. 4
  385. 1
  386. 2
  387. 1
  388. z
  389. 0
  390.  
  391. 7
  392. 0
  393. 0
  394. 21
  395. 0
  396. 1
  397. 10
  398. 6
  399. Holder
  400. 0
  401. 2
  402. 1
  403. 4
  404. 0
  405. 0
  406. 2
  407. 4
  408. pass
  409. 0
  410.  
  411. 11
  412. 1
  413. 0
  414. 2
  415. 0
  416. 2
  417. 4
  418. done
  419. 0
  420.  
  421. 14
  422. 0
  423. 0
  424. 3
  425. 1
  426. 2
  427. 1
  428. x
  429. 0
  430.  
  431. 2
  432. 1
  433. 0
  434. 4
  435. 1
  436. 2
  437. 1
  438. z
  439. 0
  440.  
  441. 7
  442. 0
  443. 0
  444. 21
  445. 0
  446. 1
  447. 11
  448. 8
  449. Splitter
  450. 0
  451. 2
  452. 1
  453. 7
  454. 0
  455. 0
  456. 2
  457. 5
  458. pass1
  459. 0
  460.  
  461. 10
  462. 1
  463. 0
  464. 1
  465. 0
  466. 2
  467. 5
  468. pass2
  469. 0
  470.  
  471. 12
  472. 1
  473. 0
  474. 2
  475. 0
  476. 2
  477. 5
  478. done1
  479. 0
  480.  
  481. 13
  482. 0
  483. 0
  484. 3
  485. 1
  486. 2
  487. 1
  488. x
  489. 0
  490.  
  491. 2
  492. 1
  493. 0
  494. 4
  495. 1
  496. 2
  497. 2
  498. z1
  499. 0
  500.  
  501. 6
  502. 0
  503. 0
  504. 5
  505. 1
  506. 2
  507. 2
  508. z2
  509. 0
  510.  
  511. 8
  512. 0
  513. 0
  514. 6
  515. 0
  516. 2
  517. 5
  518. done2
  519. 0
  520.  
  521. 15
  522. 0
  523. 0
  524. 21
  525. 0
  526. 0
  527. 12
  528. 6
  529. Merger
  530. 0
  531. 2
  532. 1
  533. 6
  534. 0
  535. 0
  536. 2
  537. 5
  538. pass1
  539. 0
  540.  
  541. 10
  542. 1
  543. 0
  544. 1
  545. 0
  546. 2
  547. 5
  548. pass2
  549. 0
  550.  
  551. 12
  552. 1
  553. 0
  554. 2
  555. 0
  556. 2
  557. 4
  558. done
  559. 0
  560.  
  561. 14
  562. 0
  563. 0
  564. 3
  565. 1
  566. 2
  567. 2
  568. x1
  569. 0
  570.  
  571. 1
  572. 1
  573. 0
  574. 4
  575. 1
  576. 2
  577. 2
  578. x2
  579. 0
  580.  
  581. 3
  582. 1
  583. 0
  584. 5
  585. 1
  586. 2
  587. 1
  588. z
  589. 0
  590.  
  591. 7
  592. 0
  593. 0
  594. 21
  595. 0
  596. 0
  597. 13
  598. 7
  599. Delayer
  600. 0
  601. 2
  602. 1
  603. 3
  604. 0
  605. 0
  606. 2
  607. 5
  608. start
  609. 0
  610.  
  611. 11
  612. 1
  613. 0
  614. 1
  615. 0
  616. 2
  617. 4
  618. done
  619. 0
  620.  
  621. 14
  622. 0
  623. 0
  624. 2
  625. 1
  626. 2
  627. 5
  628. delay
  629. 0
  630.  
  631. 2
  632. 1
  633. 0
  634. 21
  635. 0
  636. 3
  637. 14
  638. 6
  639. Tester
  640. 0
  641. 2
  642. 1
  643. 5
  644. 0
  645. 0
  646. 2
  647. 5
  648. start
  649. 0
  650.  
  651. 11
  652. 1
  653. 0
  654. 1
  655. 0
  656. 2
  657. 8
  658. positive
  659. 0
  660.  
  661. 13
  662. 0
  663. 0
  664. 2
  665. 0
  666. 2
  667. 4
  668. zero
  669. 0
  670.  
  671. 14
  672. 0
  673. 0
  674. 3
  675. 0
  676. 2
  677. 8
  678. negative
  679. 0
  680.  
  681. 15
  682. 0
  683. 0
  684. 4
  685. 1
  686. 2
  687. 1
  688. x
  689. 0
  690.  
  691. 2
  692. 1
  693. 0
  694. 21
  695. 0
  696. 1
  697. 15
  698. 13
  699. A/D Converter
  700. 0
  701. 2
  702. 1
  703. 3
  704. 0
  705. 0
  706. 2
  707. 5
  708. start
  709. 0
  710.  
  711. 11
  712. 1
  713. 0
  714. 1
  715. 0
  716. 2
  717. 4
  718. done
  719. 0
  720.  
  721. 14
  722. 0
  723. 0
  724. 2
  725. 1
  726. 2
  727. 6
  728. sample
  729. 0
  730.  
  731. 7
  732. 0
  733. 0
  734. 21
  735. 0
  736. 0
  737. 16
  738. 13
  739. D/A Converter
  740. 0
  741. 2
  742. 1
  743. 3
  744. 0
  745. 0
  746. 2
  747. 5
  748. start
  749. 0
  750.  
  751. 11
  752. 1
  753. 0
  754. 1
  755. 0
  756. 2
  757. 4
  758. done
  759. 0
  760.  
  761. 14
  762. 0
  763. 0
  764. 2
  765. 1
  766. 2
  767. 4
  768. data
  769. 0
  770.  
  771. 2
  772. 1
  773. 0
  774. 21
  775. 0
  776. 0
  777. 17
  778. 6
  779. Switch
  780. 0
  781. 2
  782. 1
  783. 3
  784. 0
  785. 0
  786. 2
  787. 2
  788. on
  789. 0
  790.  
  791. 10
  792. 1
  793. 0
  794. 1
  795. 0
  796. 2
  797. 3
  798. off
  799. 0
  800.  
  801. 12
  802. 1
  803. 0
  804. 2
  805. 0
  806. 2
  807. 4
  808. done
  809. 0
  810.  
  811. 14
  812. 0
  813. 0
  814. 21
  815. 0
  816. 0
  817. 18
  818. 7
  819. Starter
  820. 0
  821. 2
  822. 1
  823. 1
  824. 2
  825. 0
  826. 2
  827. 2
  828. go
  829. 0
  830.  
  831. 14
  832. 0
  833. 0
  834. 21
  835. 0
  836. 3
  837. 19
  838. 7
  839. Negater
  840. 0
  841. 2
  842. 1
  843. 4
  844. 0
  845. 0
  846. 2
  847. 5
  848. start
  849. 0
  850.  
  851. 11
  852. 1
  853. 0
  854. 1
  855. 0
  856. 2
  857. 4
  858. done
  859. 0
  860.  
  861. 14
  862. 0
  863. 0
  864. 2
  865. 1
  866. 2
  867. 1
  868. x
  869. 0
  870.  
  871. 2
  872. 1
  873. 0
  874. 3
  875. 1
  876. 2
  877. 1
  878. z
  879. 0
  880.  
  881. 7
  882. 0
  883. 0
  884. 21
  885. 0
  886. 1
  887. 20
  888. 15
  889. Absolute Valuer
  890. 0
  891. 2
  892. 1
  893. 4
  894. 0
  895. 0
  896. 2
  897. 5
  898. start
  899. 0
  900.  
  901. 11
  902. 1
  903. 0
  904. 1
  905. 0
  906. 2
  907. 4
  908. done
  909. 0
  910.  
  911. 14
  912. 0
  913. 0
  914. 2
  915. 1
  916. 2
  917. 1
  918. x
  919. 0
  920.  
  921. 2
  922. 1
  923. 0
  924. 3
  925. 1
  926. 2
  927. 1
  928. z
  929. 0
  930.  
  931. 7
  932. 0
  933. 0
  934. 21
  935. 0
  936. 0
  937. 21
  938. 7
  939. Limiter
  940. 0
  941. 2
  942. 1
  943. 5
  944. 0
  945. 0
  946. 2
  947. 5
  948. start
  949. 0
  950.  
  951. 11
  952. 1
  953. 0
  954. 1
  955. 0
  956. 2
  957. 4
  958. done
  959. 0
  960.  
  961. 14
  962. 0
  963. 0
  964. 2
  965. 1
  966. 2
  967. 1
  968. x
  969. 0
  970.  
  971. 1
  972. 1
  973. 0
  974. 3
  975. 1
  976. 2
  977. 3
  978. max
  979. 0
  980.  
  981. 3
  982. 1
  983. 0
  984. 4
  985. 1
  986. 2
  987. 1
  988. z
  989. 0
  990.  
  991. 7
  992. 0
  993. 0
  994. 21
  995. 0
  996. 0
  997. 22
  998. 3
  999. Pin
  1000. 2
  1001. 3
  1002. 2
  1003. 2
  1004. 0
  1005. 1
  1006. 2
  1007. 0
  1008.  
  1009. 0
  1010.  
  1011. 1
  1012. 1
  1013. 0
  1014. 1
  1015. 0
  1016. 2
  1017. 0
  1018.  
  1019. 0
  1020.  
  1021. 3
  1022. 1
  1023. 0
  1024. 21
  1025. 1
  1026. 22
  1027. 20
  1028. 23
  1029. 4
  1030. Wire
  1031. 1
  1032. 3
  1033. 2
  1034. 7
  1035. 0
  1036. 22
  1037. 2
  1038. 0
  1039.  
  1040. 0
  1041.  
  1042. 0
  1043. 1
  1044. 1
  1045. 1
  1046. 22
  1047. 2
  1048. 0
  1049.  
  1050. 0
  1051.  
  1052. 1
  1053. 0
  1054. 1
  1055. 2
  1056. 9
  1057. 0
  1058. 0
  1059.  
  1060. 0
  1061.  
  1062. 3
  1063. 2
  1064. 1
  1065. 0
  1066.  
  1067. 0
  1068.  
  1069. 4
  1070. 2
  1071. 1
  1072. 0
  1073.  
  1074. 0
  1075.  
  1076. 5
  1077. 3
  1078. 1
  1079. 0
  1080.  
  1081. 0
  1082.  
  1083. 6
  1084. 3
  1085. 1
  1086. 0
  1087.  
  1088. 0
  1089.  
  1090. 21
  1091. 1
  1092. 6
  1093. 0
  1094. 1
  1095. 24
  1096. 5
  1097. Adder
  1098. 0
  1099. 3
  1100. 2
  1101. 9
  1102. 0
  1103. 22
  1104. 2
  1105. 1
  1106. x
  1107. 0
  1108.  
  1109. 1
  1110. 1
  1111. 1
  1112. 1
  1113. 22
  1114. 2
  1115. 1
  1116. y
  1117. 0
  1118.  
  1119. 3
  1120. 1
  1121. 1
  1122. 2
  1123. 22
  1124. 2
  1125. 1
  1126. z
  1127. 0
  1128.  
  1129. 7
  1130. 0
  1131. 1
  1132. 3
  1133. 4
  1134. 0
  1135. 0
  1136.  
  1137. 0
  1138.  
  1139. 4
  1140. 3
  1141. 1
  1142. 0
  1143.  
  1144. 0
  1145.  
  1146. 5
  1147. 3
  1148. 1
  1149. 0
  1150.  
  1151. 0
  1152.  
  1153. 6
  1154. 3
  1155. 1
  1156. 0
  1157.  
  1158. 0
  1159.  
  1160. 7
  1161. 2
  1162. 1
  1163. 0
  1164.  
  1165. 0
  1166.  
  1167. 8
  1168. 2
  1169. 1
  1170. 0
  1171.  
  1172. 0
  1173.  
  1174. 21
  1175. 0
  1176. 2
  1177. 25
  1178. 10
  1179. Subtracter
  1180. 0
  1181. 3
  1182. 2
  1183. 9
  1184. 0
  1185. 22
  1186. 2
  1187. 1
  1188. x
  1189. 0
  1190.  
  1191. 1
  1192. 1
  1193. 1
  1194. 1
  1195. 22
  1196. 2
  1197. 1
  1198. y
  1199. 0
  1200.  
  1201. 3
  1202. 1
  1203. 1
  1204. 2
  1205. 22
  1206. 2
  1207. 1
  1208. z
  1209. 0
  1210.  
  1211. 7
  1212. 0
  1213. 1
  1214. 3
  1215. 5
  1216. 0
  1217. 0
  1218.  
  1219. 0
  1220.  
  1221. 4
  1222. 3
  1223. 1
  1224. 0
  1225.  
  1226. 0
  1227.  
  1228. 5
  1229. 3
  1230. 1
  1231. 0
  1232.  
  1233. 0
  1234.  
  1235. 6
  1236. 3
  1237. 1
  1238. 0
  1239.  
  1240. 0
  1241.  
  1242. 7
  1243. 2
  1244. 1
  1245. 0
  1246.  
  1247. 0
  1248.  
  1249. 8
  1250. 2
  1251. 1
  1252. 0
  1253.  
  1254. 0
  1255.  
  1256. 21
  1257. 0
  1258. 0
  1259. 26
  1260. 19
  1261. Constant Multiplier
  1262. 0
  1263. 3
  1264. 2
  1265. 10
  1266. 0
  1267. 22
  1268. 2
  1269. 1
  1270. x
  1271. 0
  1272.  
  1273. 2
  1274. 1
  1275. 1
  1276. 1
  1277. 8
  1278. 0
  1279. 0
  1280.  
  1281. 0
  1282.  
  1283. 2
  1284. 22
  1285. 2
  1286. 1
  1287. z
  1288. 0
  1289.  
  1290. 7
  1291. 0
  1292. 1
  1293. 3
  1294. 6
  1295. 0
  1296. 0
  1297.  
  1298. 0
  1299.  
  1300. 4
  1301. 3
  1302. 1
  1303. 0
  1304.  
  1305. 0
  1306.  
  1307. 5
  1308. 3
  1309. 1
  1310. 0
  1311.  
  1312. 0
  1313.  
  1314. 6
  1315. 3
  1316. 1
  1317. 0
  1318.  
  1319. 0
  1320.  
  1321. 7
  1322. 2
  1323. 1
  1324. 0
  1325.  
  1326. 0
  1327.  
  1328. 8
  1329. 2
  1330. 1
  1331. 0
  1332.  
  1333. 0
  1334.  
  1335. 9
  1336. 2
  1337. 1
  1338. 0
  1339.  
  1340. 0
  1341.  
  1342. 21
  1343. 0
  1344. 1
  1345. 27
  1346. 8
  1347. Inverter
  1348. 0
  1349. 3
  1350. 2
  1351. 7
  1352. 0
  1353. 22
  1354. 2
  1355. 1
  1356. x
  1357. 0
  1358.  
  1359. 2
  1360. 1
  1361. 1
  1362. 1
  1363. 19
  1364. 0
  1365. 0
  1366.  
  1367. 0
  1368.  
  1369. 2
  1370. 22
  1371. 2
  1372. 1
  1373. z
  1374. 0
  1375.  
  1376. 7
  1377. 0
  1378. 1
  1379. 3
  1380. 3
  1381. 1
  1382. 0
  1383.  
  1384. 0
  1385.  
  1386. 4
  1387. 3
  1388. 1
  1389. 0
  1390.  
  1391. 0
  1392.  
  1393. 5
  1394. 2
  1395. 1
  1396. 0
  1397.  
  1398. 0
  1399.  
  1400. 6
  1401. 2
  1402. 1
  1403. 0
  1404.  
  1405. 0
  1406.  
  1407. 21
  1408. 0
  1409. 0
  1410. 28
  1411. 7
  1412. Delayer
  1413. 0
  1414. 3
  1415. 2
  1416. 12
  1417. 0
  1418. 22
  1419. 2
  1420. 1
  1421. x
  1422. 0
  1423.  
  1424. 2
  1425. 1
  1426. 1
  1427. 1
  1428. 13
  1429. 0
  1430. 0
  1431.  
  1432. 0
  1433.  
  1434. 2
  1435. 22
  1436. 2
  1437. 1
  1438. z
  1439. 0
  1440.  
  1441. 7
  1442. 0
  1443. 1
  1444. 3
  1445. 8
  1446. 0
  1447. 0
  1448.  
  1449. 1
  1450. 1
  1451. 4
  1452. 3
  1453. 1
  1454. 0
  1455.  
  1456. 0
  1457.  
  1458. 5
  1459. 10
  1460. 0
  1461. 0
  1462.  
  1463. 0
  1464.  
  1465. 6
  1466. 3
  1467. 1
  1468. 0
  1469.  
  1470. 0
  1471.  
  1472. 7
  1473. 2
  1474. 1
  1475. 0
  1476.  
  1477. 0
  1478.  
  1479. 8
  1480. 3
  1481. 1
  1482. 0
  1483.  
  1484. 0
  1485.  
  1486. 9
  1487. 2
  1488. 1
  1489. 0
  1490.  
  1491. 0
  1492.  
  1493. 11
  1494. 2
  1495. 1
  1496. 0
  1497.  
  1498. 0
  1499.  
  1500. 12
  1501. 2
  1502. 1
  1503. 0
  1504.  
  1505. 0
  1506.  
  1507. 21
  1508. 0
  1509. 2
  1510. 29
  1511. 14
  1512. Step Generator
  1513. 0
  1514. 3
  1515. 2
  1516. 6
  1517. 0
  1518. 22
  1519. 2
  1520. 1
  1521. z
  1522. 0
  1523.  
  1524. 7
  1525. 0
  1526. 1
  1527. 1
  1528. 8
  1529. 0
  1530. 0
  1531.  
  1532. 0
  1533.  
  1534. 2
  1535. 18
  1536. 0
  1537. 0
  1538.  
  1539. 0
  1540.  
  1541. 3
  1542. 3
  1543. 1
  1544. 0
  1545.  
  1546. 0
  1547.  
  1548. 4
  1549. 2
  1550. 1
  1551. 0
  1552.  
  1553. 0
  1554.  
  1555. 5
  1556. 2
  1557. 1
  1558. 0
  1559.  
  1560. 0
  1561.  
  1562. 21
  1563. 0
  1564. 0
  1565. 30
  1566. 10
  1567. Integrator
  1568. 0
  1569. 3
  1570. 2
  1571. 13
  1572. 0
  1573. 22
  1574. 2
  1575. 1
  1576. x
  1577. 0
  1578.  
  1579. 2
  1580. 1
  1581. 1
  1582. 1
  1583. 4
  1584. 0
  1585. 0
  1586.  
  1587. 0
  1588.  
  1589. 2
  1590. 22
  1591. 2
  1592. 1
  1593. z
  1594. 0
  1595.  
  1596. 7
  1597. 0
  1598. 1
  1599. 3
  1600. 8
  1601. 0
  1602. 0
  1603.  
  1604. 0
  1605.  
  1606. 4
  1607. 18
  1608. 0
  1609. 0
  1610.  
  1611. 0
  1612.  
  1613. 5
  1614. 13
  1615. 0
  1616. 0
  1617.  
  1618. 0
  1619.  
  1620. 6
  1621. 8
  1622. 0
  1623. 0
  1624.  
  1625. 1
  1626. 1
  1627. 7
  1628. 3
  1629. 1
  1630. 0
  1631.  
  1632. 0
  1633.  
  1634. 8
  1635. 3
  1636. 1
  1637. 0
  1638.  
  1639. 0
  1640.  
  1641. 9
  1642. 3
  1643. 1
  1644. 0
  1645.  
  1646. 0
  1647.  
  1648. 10
  1649. 2
  1650. 1
  1651. 0
  1652.  
  1653. 0
  1654.  
  1655. 11
  1656. 2
  1657. 1
  1658. 0
  1659.  
  1660. 0
  1661.  
  1662. 12
  1663. 2
  1664. 1
  1665. 0
  1666.  
  1667. 0
  1668.  
  1669. 21
  1670. 0
  1671. 0
  1672. 31
  1673. 15
  1674. Low Pass Filter
  1675. 0
  1676. 3
  1677. 3
  1678. 13
  1679. 0
  1680. 22
  1681. 2
  1682. 1
  1683. x
  1684. 0
  1685.  
  1686. 2
  1687. 1
  1688. 0
  1689. 1
  1690. 24
  1691. 0
  1692. 0
  1693.  
  1694. 0
  1695.  
  1696. 2
  1697. 22
  1698. 2
  1699. 1
  1700. z
  1701. 0
  1702.  
  1703. 7
  1704. 0
  1705. 0
  1706. 3
  1707. 24
  1708. 0
  1709. 0
  1710.  
  1711. 0
  1712.  
  1713. 4
  1714. 28
  1715. 0
  1716. 0
  1717.  
  1718. 0
  1719.  
  1720. 5
  1721. 28
  1722. 0
  1723. 0
  1724.  
  1725. 0
  1726.  
  1727. 6
  1728. 23
  1729. 1
  1730. 0
  1731.  
  1732. 0
  1733.  
  1734. 7
  1735. 23
  1736. 1
  1737. 0
  1738.  
  1739. 0
  1740.  
  1741. 8
  1742. 26
  1743. 0
  1744. 0
  1745.  
  1746. 9
  1747. 0.3333333
  1748. 9
  1749. 23
  1750. 1
  1751. 0
  1752.  
  1753. 0
  1754.  
  1755. 10
  1756. 23
  1757. 1
  1758. 0
  1759.  
  1760. 0
  1761.  
  1762. 11
  1763. 23
  1764. 1
  1765. 0
  1766.  
  1767. 0
  1768.  
  1769. 12
  1770. 23
  1771. 1
  1772. 0
  1773.  
  1774. 0
  1775.  
  1776. 21
  1777. 0
  1778. 0
  1779. 32
  1780. 20
  1781. Hysteresis Generator
  1782. 0
  1783. 3
  1784. 2
  1785. 9
  1786. 0
  1787. 22
  1788. 2
  1789. 1
  1790. x
  1791. 0
  1792.  
  1793. 1
  1794. 1
  1795. 1
  1796. 1
  1797. 35
  1798. 0
  1799. 0
  1800.  
  1801. 0
  1802.  
  1803. 2
  1804. 22
  1805. 2
  1806. 1
  1807. z
  1808. 0
  1809.  
  1810. 7
  1811. 0
  1812. 1
  1813. 3
  1814. 3
  1815. 1
  1816. 0
  1817.  
  1818. 0
  1819.  
  1820. 4
  1821. 3
  1822. 1
  1823. 0
  1824.  
  1825. 0
  1826.  
  1827. 5
  1828. 22
  1829. 2
  1830. 5
  1831. delta
  1832. 0
  1833.  
  1834. 3
  1835. 1
  1836. 1
  1837. 6
  1838. 3
  1839. 1
  1840. 0
  1841.  
  1842. 0
  1843.  
  1844. 7
  1845. 2
  1846. 1
  1847. 0
  1848.  
  1849. 0
  1850.  
  1851. 8
  1852. 2
  1853. 1
  1854. 0
  1855.  
  1856. 0
  1857.  
  1858. 21
  1859. 0
  1860. 0
  1861. 33
  1862. 10
  1863. Comparator
  1864. 0
  1865. 2
  1866. 2
  1867. 16
  1868. 0
  1869. 0
  1870. 2
  1871. 5
  1872. start
  1873. 0
  1874.  
  1875. 11
  1876. 1
  1877. 0
  1878. 1
  1879. 0
  1880. 2
  1881. 7
  1882. greater
  1883. 0
  1884.  
  1885. 13
  1886. 0
  1887. 0
  1888. 2
  1889. 0
  1890. 2
  1891. 5
  1892. equal
  1893. 0
  1894.  
  1895. 14
  1896. 0
  1897. 0
  1898. 3
  1899. 0
  1900. 2
  1901. 4
  1902. less
  1903. 0
  1904.  
  1905. 15
  1906. 0
  1907. 0
  1908. 4
  1909. 1
  1910. 2
  1911. 1
  1912. x
  1913. 0
  1914.  
  1915. 1
  1916. 1
  1917. 0
  1918. 5
  1919. 1
  1920. 2
  1921. 1
  1922. y
  1923. 0
  1924.  
  1925. 3
  1926. 1
  1927. 0
  1928. 6
  1929. 5
  1930. 0
  1931. 0
  1932.  
  1933. 0
  1934.  
  1935. 7
  1936. 14
  1937. 0
  1938. 0
  1939.  
  1940. 0
  1941.  
  1942. 8
  1943. 3
  1944. 1
  1945. 0
  1946.  
  1947. 0
  1948.  
  1949. 9
  1950. 3
  1951. 1
  1952. 0
  1953.  
  1954. 0
  1955.  
  1956. 10
  1957. 3
  1958. 1
  1959. 0
  1960.  
  1961. 0
  1962.  
  1963. 11
  1964. 2
  1965. 1
  1966. 0
  1967.  
  1968. 0
  1969.  
  1970. 12
  1971. 2
  1972. 1
  1973. 0
  1974.  
  1975. 0
  1976.  
  1977. 13
  1978. 2
  1979. 1
  1980. 0
  1981.  
  1982. 0
  1983.  
  1984. 14
  1985. 2
  1986. 1
  1987. 0
  1988.  
  1989. 0
  1990.  
  1991. 15
  1992. 2
  1993. 1
  1994. 0
  1995.  
  1996. 0
  1997.  
  1998. 21
  1999. 0
  2000. 0
  2001. 34
  2002. 5
  2003. Pacer
  2004. 0
  2005. 2
  2006. 2
  2007. 7
  2008. 0
  2009. 18
  2010. 0
  2011. 0
  2012.  
  2013. 0
  2014.  
  2015. 1
  2016. 0
  2017. 2
  2018. 4
  2019. done
  2020. 0
  2021.  
  2022. 14
  2023. 0
  2024. 0
  2025. 2
  2026. 3
  2027. 1
  2028. 0
  2029.  
  2030. 0
  2031.  
  2032. 3
  2033. 13
  2034. 0
  2035. 0
  2036.  
  2037. 0
  2038.  
  2039. 4
  2040. 8
  2041. 0
  2042. 0
  2043.  
  2044. 0
  2045.  
  2046. 6
  2047. 2
  2048. 1
  2049. 0
  2050.  
  2051. 0
  2052.  
  2053. 7
  2054. 2
  2055. 1
  2056. 0
  2057.  
  2058. 0
  2059.  
  2060. 21
  2061. 0
  2062. 0
  2063. 35
  2064. 12
  2065. Zero Avoider
  2066. 0
  2067. 2
  2068. 1
  2069. 5
  2070. 0
  2071. 0
  2072. 2
  2073. 5
  2074. start
  2075. 0
  2076.  
  2077. 11
  2078. 1
  2079. 0
  2080. 1
  2081. 0
  2082. 2
  2083. 4
  2084. done
  2085. 0
  2086.  
  2087. 14
  2088. 0
  2089. 0
  2090. 2
  2091. 1
  2092. 2
  2093. 1
  2094. x
  2095. 0
  2096.  
  2097. 1
  2098. 1
  2099. 0
  2100. 3
  2101. 1
  2102. 2
  2103. 5
  2104. delta
  2105. 0
  2106.  
  2107. 3
  2108. 1
  2109. 0
  2110. 4
  2111. 1
  2112. 2
  2113. 1
  2114. z
  2115. 0
  2116.  
  2117. 7
  2118. 0
  2119. 0
  2120. 21
  2121. 0
  2122. 1
  2123. 20951
  2124.       
  2125. 27
  2126. 0
  2127. 5
  2128. Boxes
  2129. 21
  2130. 4
  2131. 5
  2132. 6
  2133. 7
  2134. 8
  2135. 9
  2136. 10
  2137. 11
  2138. 12
  2139. 13
  2140. 14
  2141. 15
  2142. 16
  2143. 17
  2144. 18
  2145. 19
  2146. 20
  2147. 21
  2148. 33
  2149. 34
  2150. 35
  2151. 1
  2152. 5
  2153. Links
  2154. 2
  2155. 2
  2156. 3
  2157. 2
  2158. 5
  2159. Ports
  2160. 2
  2161. 0
  2162. 1
  2163. 3
  2164. 6
  2165. Master
  2166. 25
  2167. 0
  2168. 1
  2169. 2
  2170. 3
  2171. 4
  2172. 5
  2173. 6
  2174. 7
  2175. 8
  2176. 9
  2177. 10
  2178. 11
  2179. 12
  2180. 13
  2181. 14
  2182. 15
  2183. 16
  2184. 17
  2185. 18
  2186. 19
  2187. 20
  2188. 21
  2189. 33
  2190. 34
  2191. 35
  2192. 4
  2193. 5
  2194. Boxes
  2195. 9
  2196. 24
  2197. 25
  2198. 26
  2199. 27
  2200. 28
  2201. 29
  2202. 30
  2203. 31
  2204. 32
  2205. 5
  2206. 5
  2207. Links
  2208. 1
  2209. 23
  2210. 6
  2211. 5
  2212. Ports
  2213. 1
  2214. 22
  2215. 7
  2216. 6
  2217. Master
  2218. 11
  2219. 22
  2220. 23
  2221. 24
  2222. 25
  2223. 26
  2224. 27
  2225. 28
  2226. 29
  2227. 30
  2228. 31
  2229. 32
  2230. 8
  2231. 5
  2232. Boxes
  2233. 0
  2234. 9
  2235. 5
  2236. Links
  2237. 0
  2238. 10
  2239. 5
  2240. Ports
  2241. 0
  2242. 11
  2243. 6
  2244. Master
  2245. 0
  2246. 12
  2247. 5
  2248. Boxes
  2249. 0
  2250. 13
  2251. 5
  2252. Links
  2253. 0
  2254. 14
  2255. 5
  2256. Ports
  2257. 0
  2258. 15
  2259. 6
  2260. Master
  2261. 0
  2262. 16
  2263. 5
  2264. Boxes
  2265. 0
  2266. 17
  2267. 5
  2268. Links
  2269. 0
  2270. 18
  2271. 5
  2272. Ports
  2273. 0
  2274. 19
  2275. 6
  2276. Master
  2277. 0
  2278. 20
  2279. 22
  2280. Primitives (Built-ins)
  2281. 4
  2282. 0
  2283. 1
  2284. 2
  2285. 3
  2286. 21
  2287. 27
  2288. Boxes: Arithmetic Operators
  2289. 9
  2290. 4
  2291. 5
  2292. 6
  2293. 8
  2294. 14
  2295. 19
  2296. 20
  2297. 21
  2298. 33
  2299. 22
  2300. 21
  2301. Boxes: State Machines
  2302. 7
  2303. 7
  2304. 9
  2305. 10
  2306. 13
  2307. 18
  2308. 34
  2309. 35
  2310. 23
  2311. 17
  2312. Boxes: Interfaces
  2313. 3
  2314. 15
  2315. 16
  2316. 17
  2317. 24
  2318. 17
  2319. Boxes: Connectors
  2320. 2
  2321. 11
  2322. 12
  2323. 25
  2324. 16
  2325. Boxes: Operators
  2326. 8
  2327. 24
  2328. 25
  2329. 26
  2330. 27
  2331. 28
  2332. 30
  2333. 31
  2334. 32
  2335. 26
  2336. 26
  2337. Boxes: Function Generators
  2338. 1
  2339. 29
  2340. 9
  2341. 0
  2342. 1
  2343. 1
  2344. 1
  2345. 2
  2346. 1
  2347. 9
  2348. 0
  2349. 1
  2350. 2
  2351. 3
  2352. 20
  2353. 21
  2354. 22
  2355. 23
  2356. 24
  2357. 0
  2358. 1
  2359. 2
  2360. 3
  2361. 3
  2362. 1
  2363. 6
  2364. 4
  2365. 5
  2366. 6
  2367. 7
  2368. 25
  2369. 26
  2370. 4
  2371. 5
  2372. 6
  2373. 7
  2374. 4
  2375. 1
  2376. 4
  2377. 8
  2378. 9
  2379. 10
  2380. 11
  2381. 8
  2382. 9
  2383. 10
  2384. 11
  2385. 5
  2386. 0
  2387. 6
  2388. 0
  2389. 4
  2390. 12
  2391. 13
  2392. 14
  2393. 15
  2394. 12
  2395. 13
  2396. 14
  2397. 15
  2398. 7
  2399. 0
  2400. 8
  2401. 0
  2402. 4
  2403. 16
  2404. 17
  2405. 18
  2406. 19
  2407. 16
  2408. 17
  2409. 18
  2410. 19
  2411. 667
  2412. This port is a connection point for a control link.
  2413.  
  2414. An output control port is ordinarily quiescent.  When “poked” by a box it is on, however, it emits an infinitesimally short control “pulse” that can be transmitted instantaneously to other (input) control ports via a control link.
  2415.  
  2416. An input control port “listens” for control pulses and notifies the box it is on that such a pulse has been received.  It acts exactly like a flip-flop whose value is set to “one” by a received control pulse, and whose value is reset to “zero” by the box it is on.  The action of the box in response to a pulse on a particular input control port depends on its function, of course.
  2417.  
  2418. 61
  2419. This is a primitive part in the “Concurrent” interpretation.
  2420.  
  2421. 633
  2422. This port is a connection point for a data link.
  2423.  
  2424. An output data port is ordinarily quiescent.  When “written to” by a box it is on, however, it emits for an infinitesimally short time a data value that can be transmitted instantaneously to other (input) data ports via a data link.
  2425.  
  2426. An input data port “listens” for data values and remembers the data value when it receives one.  It acts exactly like a register whose value is set whenever a data value is received.  (The new value overwrites any previous value that may have been in this register.)  The box it is on may “read” the data value from any input data port at any time.
  2427.  
  2428. 61
  2429. This is a primitive part in the “Concurrent” interpretation.
  2430.  
  2431. 166
  2432. This link transmits a control “pulse” instantaneously from any output control port connected to its left end, to every input control port connected to its right end.
  2433.  
  2434. 61
  2435. This is a primitive part in the “Concurrent” interpretation.
  2436.  
  2437. 155
  2438. This link transmits a data value instantaneously from any output data port connected to its left end, to every input data port connected to its right end.
  2439.  
  2440. 61
  2441. This is a primitive part in the “Concurrent” interpretation.
  2442.  
  2443. 107
  2444. When “start” is poked, values are read from “x” and “y”, their sum is written to “z”, and “done” is poked.
  2445.  
  2446. 60
  2447. start:
  2448. {
  2449.   write (z, read (x) + read (y));
  2450.   poke (done);
  2451. }
  2452.  
  2453. 0
  2454.  
  2455. 120
  2456. When “start” is poked, values are read from “x” and “y”, their difference (x-y) is written to “z”, and “done” is poked.
  2457.  
  2458. 60
  2459. start:
  2460. {
  2461.   write (z, read (x) - read (y));
  2462.   poke (done);
  2463. }
  2464.  
  2465. 0
  2466.  
  2467. 111
  2468. When “start” is poked, values are read from “x” and “y”, their product is written to “z”, and “done” is poked.
  2469.  
  2470. 60
  2471. start:
  2472. {
  2473.   write (z, read (x) * read (y));
  2474.   poke (done);
  2475. }
  2476.  
  2477. 0
  2478.  
  2479. 291
  2480. Initially, the state of this box is such that it thinks none of the control links attached to “ready” has been poked yet.
  2481.  
  2482. Exactly when all control links attached to “ready” have been poked at least once, “synchronized” is poked, and the state of this box is reset to its initial condition.
  2483.  
  2484. 576
  2485. boolean *poked;
  2486. int number_poked;
  2487. int number_needed = size (ready);
  2488.  
  2489. /*------------------------------------*/
  2490.  
  2491. void reset ()
  2492. {
  2493.   int i;
  2494.   for (i = number_needed - 1; i >= 0; i--) poked [i] = FALSE;
  2495.   number_poked = 0;
  2496. }
  2497.  
  2498. /*------------------------------------*/
  2499.  
  2500. init:
  2501. {
  2502.   poked = (boolean *) malloc (sizeof (boolean) * number_needed);
  2503.   reset ();
  2504. }
  2505.  
  2506. /*------------------------------------*/
  2507.  
  2508. ready (k):
  2509. {
  2510.   if (! poked [k])
  2511.     {
  2512.       poked [k] = TRUE;
  2513.       if (++number_poked == number_needed)
  2514.         {
  2515.           poke (synchronized);
  2516.           reset ();
  2517.         }
  2518.     }
  2519. }
  2520. 0
  2521.  
  2522. 108
  2523. When “start” is poked, the value of this box’s instance information is written to “z”, and “done” is poked.
  2524.  
  2525. 64
  2526. start:
  2527. {
  2528.   write (z, instance_information ());
  2529.   poke (done);
  2530. }
  2531.  
  2532. 0
  2533.  
  2534. 302
  2535. Initially, the value of this box’s instance information is written to “z” and “done” is poked.
  2536.  
  2537. When “start” is poked, the value is read from “x” and compared to the last value written to “z”.  If and only if they are different, the new value just read from “x” is written to “z”, and “done” is poked.
  2538.  
  2539. 423
  2540. real last_value;
  2541.  
  2542. /*------------------------------------*/
  2543.  
  2544. void write_value ()
  2545. {
  2546.   write (z, last_value);
  2547.   poke (done);
  2548. }
  2549.  
  2550. /*------------------------------------*/
  2551.  
  2552. init:
  2553. {
  2554.   last_value = instance_information;
  2555.   write_value ();
  2556. }
  2557.  
  2558. /*------------------------------------*/
  2559.  
  2560. start:
  2561. {
  2562.   real new_value;
  2563.   new_value = read (x);
  2564.   if (new_value != last_value)
  2565.     {
  2566.       last_value = new_value;
  2567.       write_value ();
  2568.     }
  2569. }
  2570.  
  2571. 0
  2572.  
  2573. 91
  2574. When “pass” is poked, a value is read from “x”, it is written to “z”, and “done” is poked.
  2575.  
  2576. 48
  2577. pass:
  2578. {
  2579.   write (z, read (x));
  2580.   poke (done);
  2581. }
  2582.  
  2583. 0
  2584.  
  2585. 193
  2586. • When “pass1” is poked, the value of “x” is read, it is written to “z1”, and “done1” is poked.
  2587.  
  2588. • When “pass2” is poked, the value of “x” is read, it is written to “z2”, and “done2” is poked.
  2589.  
  2590. 145
  2591. pass1:
  2592. {
  2593.   write (z1, read (x));
  2594.   poke (done1);
  2595. }
  2596.  
  2597. /*------------------------------------*/
  2598.  
  2599. pass2:
  2600. {
  2601.   write (z2, read (x));
  2602.   poke (done2);
  2603. }
  2604.  
  2605. 0
  2606.  
  2607. 191
  2608. • When “pass1” is poked, the value of “x1” is read, it is written to “z”, and “done” is poked.
  2609.  
  2610. • When “pass2” is poked, the value of “x2” is read, it is written to “z”, and “done” is poked.
  2611.  
  2612. 143
  2613. pass1:
  2614. {
  2615.   write (z, read (x1));
  2616.   poke (done);
  2617. }
  2618.  
  2619. /*------------------------------------*/
  2620.  
  2621. pass2:
  2622. {
  2623.   write (z, read (x2));
  2624.   poke (done);
  2625. }
  2626.  
  2627. 0
  2628.  
  2629. 105
  2630. When “start” is poked, this box reads “delay” and waits that number of clock ticks before poking “done”.
  2631.  
  2632. 49
  2633. start:
  2634. {
  2635.   hold (read (delay));
  2636.   poke (done);
  2637. }
  2638.  
  2639. 0
  2640.  
  2641. 136
  2642. When “start” is poked:
  2643. • If “x” > 0 then “positive” is poked.
  2644. • If “x” = 0 then “zero” is poked.
  2645. • If “x” < 0 then “negative” is poked.
  2646.  
  2647. 133
  2648. start:
  2649. {
  2650.   real xx;
  2651.      xx = read (x);
  2652.   if (xx > 0) poke (positive);
  2653.     else if (xx == 0) poke (zero);
  2654.       else poke (negative);
  2655. }
  2656.  
  2657. 0
  2658.  
  2659. 168
  2660. When “start” is poked, a value obtained from an A/D converter (whose identity is in the instance information for this box) is written to “sample”, and “done” is poked.
  2661.  
  2662. 78
  2663. start:
  2664. {
  2665.   write (sample, A_to_D (instance_information ()));
  2666.   poke (done);
  2667. }
  2668.  
  2669. 0
  2670.  
  2671. 167
  2672. When “start” is poked, a value is read from “data” and is output to a D/A converter (whose identity is in the instance information for this box), and “done” is poked.
  2673.  
  2674. 75
  2675. start:
  2676. {
  2677.   D_to_A (instance_information (), read (data));
  2678.   poke (done);
  2679. }
  2680.  
  2681. 0
  2682.  
  2683. 208
  2684. When “on” is poked, a physical switch (whose identity is given by the instance information of this box) is turned on, and “done” is poked.  When “off” is poked, the switch is turned off, and “done” is poked.
  2685.  
  2686. 183
  2687. on:
  2688. {
  2689.   set_switch (instance_information (), TRUE);
  2690.   poke (done);
  2691. }
  2692.  
  2693. /*------------------------------------*/
  2694.  
  2695. off:
  2696. {
  2697.   set_switch (instance_information (), FALSE);
  2698.   poke (done);
  2699. }
  2700.  
  2701. 0
  2702.  
  2703. 86
  2704. Upon completion of system initialization, “go” is poked.  This box does nothing else.
  2705.  
  2706. 23
  2707. init:
  2708. {
  2709.   poke (go);
  2710. }
  2711.  
  2712. 0
  2713.  
  2714. 107
  2715. When “start” is poked, a value is read from “x”, its negation (-x) is written to “z”, and “done” is poked.
  2716.  
  2717. 50
  2718. start:
  2719. {
  2720.   write (z, -read (x));
  2721.   poke (done);
  2722. }
  2723.  
  2724. 0
  2725.  
  2726. 114
  2727. When “start” is poked, a value is read from “x”, its absolute value (|x|) is written to “z”, and “done” is poked.
  2728.  
  2729. 101
  2730. start:
  2731. {
  2732.   real abs;
  2733.   abs = read (x);
  2734.   if (abs < 0) abs = -abs;
  2735.   write (z, abs);
  2736.   poke (done);
  2737. }
  2738.  
  2739. 0
  2740.  
  2741. 180
  2742. When “start” is poked, values are read from “x” and “max”.  Then one of the following values is written to “z”:
  2743.  
  2744. • if x < max, then x
  2745.  
  2746. • if x ≥ max, then max
  2747.  
  2748. and “done” is poked.
  2749.  
  2750. 181
  2751. start:
  2752. {
  2753.   real input, high, output;
  2754.   input = read (x);
  2755.   high = read (max);
  2756.   if (input > high) then output = high;
  2757.     else output = input;
  2758.   write (z, output);
  2759.   poke (done);
  2760. }
  2761.  
  2762. 0
  2763.  
  2764. 395
  2765. A “Pin” acts just like an electrical terminal, in that it is the connector on an analog element (a box) to which a “Wire” can be attached.
  2766.  
  2767. If it is an input “Pin”, a “Wire” connected to it delivers a real-valued signal at every instant in time.  If it is an output “Pin”, a “Wire” connected to it broadcasts the real-valued signal on the “Pin” to every input “Pin” that “Wire” is connected to.
  2768.  
  2769. 0
  2770.  
  2771. 298
  2772. A “Wire” acts just like an electrical wire (network), in that it is the thing that connects together the pins on analog elements (boxes).
  2773.  
  2774. A “Wire” connected to an output “Pin” delivers a real-valued signal produced by that “Pin”, at every instant in time, to every input “Pin” it is connected to.
  2775.  
  2776. 8
  2777. 0
  2778. 3
  2779. 3
  2780. 0
  2781. 2
  2782. 11
  2783. 3
  2784. 1
  2785. 2
  2786. 14
  2787. 4
  2788. 0
  2789. 1
  2790. 3
  2791. 4
  2792. 1
  2793. 0
  2794. 1
  2795. 5
  2796. 0
  2797. 2
  2798. 2
  2799. 5
  2800. 1
  2801. 2
  2802. 7
  2803. 6
  2804. 0
  2805. 1
  2806. 1
  2807. 6
  2808. 1
  2809. 1
  2810. 2
  2811. 11
  2812. 16
  2813. 4
  2814. 3
  2815. 1
  2816. 0
  2817. 13
  2818. 0
  2819. 1
  2820. 1
  2821. 13
  2822. 16
  2823. 2
  2824. 0
  2825. 1
  2826. 4
  2827. 1
  2828. 0
  2829. 13
  2830. 22
  2831. 1
  2832. 1
  2833. 13
  2834. 38
  2835. 2
  2836. 0
  2837. 1
  2838. 5
  2839. 4
  2840. 0
  2841. 11
  2842. 0
  2843. 1
  2844. 1
  2845. 11
  2846. 9
  2847. 3
  2848. 2
  2849. 7
  2850. 9
  2851. 3
  2852. 3
  2853. 7
  2854. 19
  2855. 3
  2856. 4
  2857. 11
  2858. 19
  2859. 2
  2860. 0
  2861. 1
  2862. 2
  2863. 1
  2864. 2
  2865. 3
  2866. 3
  2867. 4
  2868. 6
  2869. 4
  2870. 0
  2871. 15
  2872. 19
  2873. 1
  2874. 1
  2875. 19
  2876. 19
  2877. 3
  2878. 2
  2879. 19
  2880. 28
  2881. 3
  2882. 3
  2883. 11
  2884. 28
  2885. 3
  2886. 4
  2887. 11
  2888. 38
  2889. 2
  2890. 0
  2891. 1
  2892. 1
  2893. 2
  2894. 3
  2895. 2
  2896. 3
  2897. 4
  2898. 0
  2899.  
  2900. 19
  2901. z(t) = x(t) + y(t)
  2902.  
  2903. 11
  2904. 0
  2905. 1
  2906. 4
  2907. 0
  2908. 3
  2909. 1
  2910. 4
  2911. 1
  2912. 1
  2913. 1
  2914. 5
  2915. 0
  2916. 3
  2917. 3
  2918. 5
  2919. 1
  2920. 3
  2921. 7
  2922. 6
  2923. 0
  2924. 2
  2925. 1
  2926. 6
  2927. 1
  2928. 0
  2929. 3
  2930. 7
  2931. 0
  2932. 3
  2933. 11
  2934. 7
  2935. 1
  2936. 1
  2937. 3
  2938. 7
  2939. 0
  2940. 3
  2941. 14
  2942. 8
  2943. 0
  2944. 2
  2945. 3
  2946. 8
  2947. 1
  2948. 1
  2949. 3
  2950. 9
  2951. 17
  2952. 5
  2953. 4
  2954. 3
  2955. 0
  2956. 0
  2957. 13
  2958. 1
  2959. 1
  2960. 4
  2961. 13
  2962. 3
  2963. 2
  2964. 4
  2965. 19
  2966. 3
  2967. 3
  2968. 9
  2969. 19
  2970. 2
  2971. 0
  2972. 1
  2973. 1
  2974. 2
  2975. 2
  2976. 3
  2977. 5
  2978. 3
  2979. 0
  2980. 0
  2981. 27
  2982. 1
  2983. 1
  2984. 4
  2985. 27
  2986. 3
  2987. 2
  2988. 4
  2989. 21
  2990. 3
  2991. 3
  2992. 9
  2993. 21
  2994. 2
  2995. 0
  2996. 1
  2997. 2
  2998. 1
  2999. 2
  3000. 3
  3001. 6
  3002. 1
  3003. 0
  3004. 13
  3005. 20
  3006. 1
  3007. 1
  3008. 22
  3009. 20
  3010. 2
  3011. 0
  3012. 1
  3013. 7
  3014. 5
  3015. 0
  3016. 0
  3017. 11
  3018. 1
  3019. 1
  3020. 11
  3021. 11
  3022. 3
  3023. 2
  3024. 11
  3025. 17
  3026. 2
  3027. 3
  3028. 2
  3029. 11
  3030. 3
  3031. 4
  3032. 0
  3033. 25
  3034. 1
  3035. 5
  3036. 2
  3037. 25
  3038. 3
  3039. 0
  3040. 3
  3041. 1
  3042. 2
  3043. 3
  3044. 1
  3045. 4
  3046. 5
  3047. 3
  3048. 5
  3049. 8
  3050. 4
  3051. 0
  3052. 11
  3053. 23
  3054. 1
  3055. 1
  3056. 11
  3057. 27
  3058. 3
  3059. 2
  3060. 16
  3061. 27
  3062. 3
  3063. 3
  3064. 16
  3065. 18
  3066. 3
  3067. 4
  3068. 22
  3069. 18
  3070. 2
  3071. 0
  3072. 1
  3073. 1
  3074. 2
  3075. 3
  3076. 2
  3077. 3
  3078. 4
  3079. 0
  3080.  
  3081. 19
  3082. z(t) = x(t) - y(t)
  3083.  
  3084. 11
  3085. 0
  3086. 1
  3087. 4
  3088. 0
  3089. 3
  3090. 1
  3091. 4
  3092. 1
  3093. 1
  3094. 1
  3095. 5
  3096. 0
  3097. 3
  3098. 3
  3099. 5
  3100. 1
  3101. 3
  3102. 7
  3103. 6
  3104. 0
  3105. 2
  3106. 1
  3107. 6
  3108. 1
  3109. 0
  3110. 3
  3111. 7
  3112. 0
  3113. 3
  3114. 11
  3115. 7
  3116. 1
  3117. 1
  3118. 3
  3119. 7
  3120. 0
  3121. 3
  3122. 14
  3123. 8
  3124. 0
  3125. 2
  3126. 3
  3127. 8
  3128. 1
  3129. 1
  3130. 3
  3131. 9
  3132. 17
  3133. 5
  3134. 4
  3135. 3
  3136. 0
  3137. 0
  3138. 13
  3139. 1
  3140. 1
  3141. 4
  3142. 13
  3143. 3
  3144. 2
  3145. 4
  3146. 19
  3147. 3
  3148. 3
  3149. 9
  3150. 19
  3151. 2
  3152. 0
  3153. 1
  3154. 1
  3155. 2
  3156. 2
  3157. 3
  3158. 5
  3159. 3
  3160. 0
  3161. 0
  3162. 27
  3163. 1
  3164. 1
  3165. 4
  3166. 27
  3167. 3
  3168. 2
  3169. 4
  3170. 21
  3171. 3
  3172. 3
  3173. 9
  3174. 21
  3175. 2
  3176. 0
  3177. 1
  3178. 2
  3179. 1
  3180. 2
  3181. 3
  3182. 6
  3183. 1
  3184. 0
  3185. 13
  3186. 20
  3187. 1
  3188. 1
  3189. 22
  3190. 20
  3191. 2
  3192. 0
  3193. 1
  3194. 7
  3195. 5
  3196. 0
  3197. 0
  3198. 11
  3199. 1
  3200. 1
  3201. 11
  3202. 11
  3203. 3
  3204. 2
  3205. 11
  3206. 17
  3207. 2
  3208. 3
  3209. 2
  3210. 11
  3211. 3
  3212. 4
  3213. 0
  3214. 25
  3215. 1
  3216. 5
  3217. 2
  3218. 25
  3219. 3
  3220. 0
  3221. 3
  3222. 1
  3223. 2
  3224. 3
  3225. 1
  3226. 4
  3227. 5
  3228. 3
  3229. 5
  3230. 8
  3231. 4
  3232. 0
  3233. 11
  3234. 23
  3235. 1
  3236. 1
  3237. 11
  3238. 27
  3239. 3
  3240. 2
  3241. 16
  3242. 27
  3243. 3
  3244. 3
  3245. 16
  3246. 18
  3247. 3
  3248. 4
  3249. 22
  3250. 18
  3251. 2
  3252. 0
  3253. 1
  3254. 1
  3255. 2
  3256. 3
  3257. 2
  3258. 3
  3259. 4
  3260. 0
  3261.  
  3262. 49
  3263. z(t) = k * x(t),  where k = instance information
  3264.  
  3265. 12
  3266. 0
  3267. 1
  3268. 4
  3269. 0
  3270. 3
  3271. 3
  3272. 4
  3273. 1
  3274. 3
  3275. 7
  3276. 5
  3277. 0
  3278. 2
  3279. 1
  3280. 5
  3281. 1
  3282. 1
  3283. 7
  3284. 6
  3285. 0
  3286. 3
  3287. 1
  3288. 6
  3289. 1
  3290. 0
  3291. 3
  3292. 7
  3293. 0
  3294. 1
  3295. 11
  3296. 7
  3297. 1
  3298. 1
  3299. 14
  3300. 8
  3301. 0
  3302. 3
  3303. 11
  3304. 8
  3305. 1
  3306. 3
  3307. 14
  3308. 9
  3309. 0
  3310. 2
  3311. 3
  3312. 9
  3313. 1
  3314. 2
  3315. 1
  3316. 3
  3317. 8
  3318. 3
  3319. 9
  3320. 17
  3321. 6
  3322. 4
  3323. 3
  3324. 0
  3325. 0
  3326. 20
  3327. 1
  3328. 1
  3329. 4
  3330. 20
  3331. 3
  3332. 2
  3333. 4
  3334. 21
  3335. 3
  3336. 3
  3337. 9
  3338. 21
  3339. 2
  3340. 0
  3341. 1
  3342. 1
  3343. 2
  3344. 2
  3345. 3
  3346. 5
  3347. 1
  3348. 0
  3349. 13
  3350. 20
  3351. 1
  3352. 1
  3353. 22
  3354. 20
  3355. 2
  3356. 0
  3357. 1
  3358. 6
  3359. 3
  3360. 0
  3361. 7
  3362. 11
  3363. 1
  3364. 1
  3365. 8
  3366. 11
  3367. 3
  3368. 2
  3369. 8
  3370. 19
  3371. 3
  3372. 3
  3373. 9
  3374. 19
  3375. 2
  3376. 0
  3377. 1
  3378. 1
  3379. 2
  3380. 2
  3381. 3
  3382. 7
  3383. 4
  3384. 0
  3385. 0
  3386. 18
  3387. 1
  3388. 1
  3389. 2
  3390. 18
  3391. 3
  3392. 2
  3393. 2
  3394. 5
  3395. 3
  3396. 3
  3397. 5
  3398. 5
  3399. 3
  3400. 4
  3401. 5
  3402. 8
  3403. 2
  3404. 0
  3405. 1
  3406. 2
  3407. 1
  3408. 2
  3409. 3
  3410. 3
  3411. 4
  3412. 8
  3413. 3
  3414. 0
  3415. 5
  3416. 14
  3417. 1
  3418. 1
  3419. 5
  3420. 15
  3421. 3
  3422. 2
  3423. 11
  3424. 15
  3425. 3
  3426. 3
  3427. 11
  3428. 17
  3429. 2
  3430. 0
  3431. 1
  3432. 1
  3433. 2
  3434. 2
  3435. 3
  3436. 9
  3437. 4
  3438. 0
  3439. 11
  3440. 23
  3441. 1
  3442. 1
  3443. 11
  3444. 26
  3445. 3
  3446. 2
  3447. 16
  3448. 26
  3449. 3
  3450. 3
  3451. 16
  3452. 18
  3453. 3
  3454. 4
  3455. 22
  3456. 18
  3457. 2
  3458. 0
  3459. 1
  3460. 1
  3461. 2
  3462. 3
  3463. 2
  3464. 3
  3465. 4
  3466. 0
  3467.  
  3468. 13
  3469. z(t) = -x(t)
  3470.  
  3471. 8
  3472. 0
  3473. 1
  3474. 3
  3475. 0
  3476. 1
  3477. 2
  3478. 3
  3479. 1
  3480. 1
  3481. 7
  3482. 4
  3483. 0
  3484. 2
  3485. 1
  3486. 4
  3487. 1
  3488. 0
  3489. 3
  3490. 5
  3491. 0
  3492. 1
  3493. 11
  3494. 5
  3495. 1
  3496. 1
  3497. 14
  3498. 6
  3499. 0
  3500. 2
  3501. 3
  3502. 6
  3503. 1
  3504. 1
  3505. 1
  3506. 9
  3507. 17
  3508. 4
  3509. 3
  3510. 1
  3511. 0
  3512. 0
  3513. 20
  3514. 1
  3515. 1
  3516. 9
  3517. 20
  3518. 2
  3519. 0
  3520. 1
  3521. 4
  3522. 1
  3523. 0
  3524. 13
  3525. 20
  3526. 1
  3527. 1
  3528. 22
  3529. 20
  3530. 2
  3531. 0
  3532. 1
  3533. 5
  3534. 4
  3535. 0
  3536. 0
  3537. 18
  3538. 1
  3539. 1
  3540. 5
  3541. 18
  3542. 3
  3543. 2
  3544. 5
  3545. 13
  3546. 3
  3547. 3
  3548. 11
  3549. 13
  3550. 3
  3551. 4
  3552. 11
  3553. 17
  3554. 2
  3555. 0
  3556. 1
  3557. 2
  3558. 1
  3559. 2
  3560. 3
  3561. 3
  3562. 4
  3563. 6
  3564. 4
  3565. 0
  3566. 11
  3567. 23
  3568. 1
  3569. 1
  3570. 11
  3571. 27
  3572. 3
  3573. 2
  3574. 16
  3575. 27
  3576. 3
  3577. 3
  3578. 16
  3579. 18
  3580. 3
  3581. 4
  3582. 22
  3583. 18
  3584. 2
  3585. 0
  3586. 1
  3587. 1
  3588. 2
  3589. 3
  3590. 2
  3591. 3
  3592. 4
  3593. 0
  3594.  
  3595. 54
  3596. z(t) = x(t-1)
  3597.  
  3598. NOTE: time is measured in clock ticks.
  3599.  
  3600. 14
  3601. 0
  3602. 1
  3603. 6
  3604. 0
  3605. 5
  3606. 2
  3607. 6
  3608. 1
  3609. 3
  3610. 7
  3611. 4
  3612. 0
  3613. 1
  3614. 2
  3615. 4
  3616. 1
  3617. 5
  3618. 7
  3619. 8
  3620. 0
  3621. 2
  3622. 1
  3623. 8
  3624. 1
  3625. 0
  3626. 3
  3627. 7
  3628. 0
  3629. 3
  3630. 11
  3631. 7
  3632. 1
  3633. 3
  3634. 14
  3635. 9
  3636. 0
  3637. 1
  3638. 11
  3639. 9
  3640. 1
  3641. 1
  3642. 14
  3643. 11
  3644. 0
  3645. 5
  3646. 11
  3647. 11
  3648. 1
  3649. 5
  3650. 14
  3651. 12
  3652. 0
  3653. 2
  3654. 3
  3655. 12
  3656. 1
  3657. 3
  3658. 1
  3659. 10
  3660. 8
  3661. 3
  3662. 3
  3663. 8
  3664. 5
  3665. 10
  3666. 22
  3667. 7
  3668. 4
  3669. 1
  3670. 0
  3671. 7
  3672. 11
  3673. 1
  3674. 1
  3675. 10
  3676. 11
  3677. 2
  3678. 0
  3679. 1
  3680. 6
  3681. 3
  3682. 0
  3683. 0
  3684. 20
  3685. 1
  3686. 1
  3687. 5
  3688. 20
  3689. 3
  3690. 2
  3691. 5
  3692. 25
  3693. 3
  3694. 3
  3695. 10
  3696. 25
  3697. 2
  3698. 0
  3699. 1
  3700. 1
  3701. 2
  3702. 2
  3703. 3
  3704. 7
  3705. 4
  3706. 0
  3707. 0
  3708. 18
  3709. 1
  3710. 1
  3711. 2
  3712. 18
  3713. 3
  3714. 2
  3715. 2
  3716. 5
  3717. 3
  3718. 3
  3719. 5
  3720. 5
  3721. 3
  3722. 4
  3723. 5
  3724. 8
  3725. 2
  3726. 0
  3727. 1
  3728. 2
  3729. 1
  3730. 2
  3731. 3
  3732. 3
  3733. 4
  3734. 8
  3735. 3
  3736. 0
  3737. 14
  3738. 25
  3739. 1
  3740. 1
  3741. 18
  3742. 25
  3743. 3
  3744. 2
  3745. 18
  3746. 20
  3747. 3
  3748. 3
  3749. 22
  3750. 20
  3751. 2
  3752. 0
  3753. 1
  3754. 2
  3755. 1
  3756. 2
  3757. 3
  3758. 9
  3759. 5
  3760. 0
  3761. 5
  3762. 14
  3763. 1
  3764. 1
  3765. 5
  3766. 17
  3767. 3
  3768. 2
  3769. 9
  3770. 17
  3771. 3
  3772. 3
  3773. 9
  3774. 5
  3775. 3
  3776. 4
  3777. 12
  3778. 5
  3779. 3
  3780. 5
  3781. 12
  3782. 8
  3783. 2
  3784. 0
  3785. 1
  3786. 1
  3787. 2
  3788. 3
  3789. 2
  3790. 3
  3791. 4
  3792. 4
  3793. 5
  3794. 11
  3795. 1
  3796. 0
  3797. 12
  3798. 14
  3799. 1
  3800. 1
  3801. 12
  3802. 22
  3803. 2
  3804. 0
  3805. 1
  3806. 12
  3807. 4
  3808. 0
  3809. 12
  3810. 28
  3811. 1
  3812. 1
  3813. 12
  3814. 31
  3815. 3
  3816. 2
  3817. 17
  3818. 31
  3819. 3
  3820. 3
  3821. 17
  3822. 18
  3823. 3
  3824. 4
  3825. 22
  3826. 18
  3827. 2
  3828. 0
  3829. 1
  3830. 1
  3831. 2
  3832. 3
  3833. 2
  3834. 3
  3835. 4
  3836. 0
  3837.  
  3838. 73
  3839. z(t) = 0  for t < 0
  3840.      = k  for t ≥ 0,  where k = instance information
  3841.  
  3842. 6
  3843. 1
  3844. 7
  3845. 3
  3846. 0
  3847. 0
  3848. 1
  3849. 3
  3850. 1
  3851. 2
  3852. 14
  3853. 4
  3854. 0
  3855. 1
  3856. 11
  3857. 4
  3858. 1
  3859. 1
  3860. 14
  3861. 5
  3862. 0
  3863. 0
  3864. 3
  3865. 5
  3866. 1
  3867. 2
  3868. 1
  3869. 9
  3870. 17
  3871. 2
  3872. 9
  3873. 8
  3874. 3
  3875. 3
  3876. 1
  3877. 0
  3878. 13
  3879. 20
  3880. 1
  3881. 1
  3882. 22
  3883. 20
  3884. 2
  3885. 0
  3886. 1
  3887. 4
  3888. 1
  3889. 0
  3890. 11
  3891. 14
  3892. 1
  3893. 1
  3894. 11
  3895. 17
  3896. 2
  3897. 0
  3898. 1
  3899. 5
  3900. 4
  3901. 0
  3902. 11
  3903. 23
  3904. 1
  3905. 1
  3906. 11
  3907. 27
  3908. 3
  3909. 2
  3910. 16
  3911. 27
  3912. 3
  3913. 3
  3914. 16
  3915. 18
  3916. 3
  3917. 4
  3918. 22
  3919. 18
  3920. 2
  3921. 0
  3922. 1
  3923. 1
  3924. 2
  3925. 3
  3926. 2
  3927. 3
  3928. 4
  3929. 0
  3930.  
  3931. 131
  3932. z(t) = 0  for t < 0
  3933.      = k  for t = 0,  where k = instance information
  3934.      = k + ∫x(r)dr  for t > 0,  where r runs from 0+ to t
  3935.  
  3936. 18
  3937. 6
  3938. 7
  3939. 7
  3940. 0
  3941. 5
  3942. 2
  3943. 7
  3944. 1
  3945. 3
  3946. 7
  3947. 8
  3948. 0
  3949. 2
  3950. 1
  3951. 8
  3952. 1
  3953. 1
  3954. 3
  3955. 8
  3956. 1
  3957. 0
  3958. 1
  3959. 9
  3960. 0
  3961. 1
  3962. 1
  3963. 9
  3964. 1
  3965. 1
  3966. 7
  3967. 8
  3968. 0
  3969. 4
  3970. 14
  3971. 10
  3972. 0
  3973. 6
  3974. 11
  3975. 10
  3976. 1
  3977. 3
  3978. 11
  3979. 10
  3980. 1
  3981. 3
  3982. 14
  3983. 11
  3984. 0
  3985. 2
  3986. 3
  3987. 11
  3988. 1
  3989. 6
  3990. 14
  3991. 12
  3992. 0
  3993. 5
  3994. 11
  3995. 12
  3996. 1
  3997. 5
  3998. 14
  3999. 12
  4000. 0
  4001. 1
  4002. 11
  4003. 12
  4004. 1
  4005. 1
  4006. 14
  4007. 11
  4008. 0
  4009. 5
  4010. 1
  4011. 8
  4012. 22
  4013. 3
  4014. 15
  4015. 10
  4016. 4
  4017. 1
  4018. 1
  4019. 5
  4020. 8
  4021. 10
  4022. 6
  4023. 1
  4024. 10
  4025. 6
  4026. 7
  4027. 1
  4028. 0
  4029. 5
  4030. 13
  4031. 1
  4032. 1
  4033. 8
  4034. 13
  4035. 2
  4036. 0
  4037. 1
  4038. 8
  4039. 9
  4040. 0
  4041. 19
  4042. 13
  4043. 1
  4044. 1
  4045. 20
  4046. 13
  4047. 3
  4048. 2
  4049. 20
  4050. 20
  4051. 3
  4052. 3
  4053. 22
  4054. 20
  4055. 2
  4056. 4
  4057. 20
  4058. 32
  4059. 3
  4060. 5
  4061. 6
  4062. 32
  4063. 3
  4064. 6
  4065. 6
  4066. 26
  4067. 3
  4068. 7
  4069. 8
  4070. 26
  4071. 2
  4072. 8
  4073. 20
  4074. 25
  4075. 3
  4076. 9
  4077. 12
  4078. 25
  4079. 1
  4080. 0
  4081. 1
  4082. 1
  4083. 2
  4084. 2
  4085. 3
  4086. 2
  4087. 8
  4088. 5
  4089. 4
  4090. 6
  4091. 5
  4092. 6
  4093. 7
  4094. 8
  4095. 4
  4096. 9
  4097. 8
  4098. 9
  4099. 3
  4100. 0
  4101. 0
  4102. 20
  4103. 1
  4104. 1
  4105. 4
  4106. 20
  4107. 3
  4108. 2
  4109. 4
  4110. 24
  4111. 3
  4112. 3
  4113. 8
  4114. 24
  4115. 2
  4116. 0
  4117. 1
  4118. 1
  4119. 2
  4120. 2
  4121. 3
  4122. 10
  4123. 4
  4124. 0
  4125. 3
  4126. 7
  4127. 1
  4128. 1
  4129. 3
  4130. 10
  4131. 2
  4132. 2
  4133. 3
  4134. 8
  4135. 3
  4136. 3
  4137. 17
  4138. 8
  4139. 3
  4140. 4
  4141. 17
  4142. 10
  4143. 2
  4144. 0
  4145. 2
  4146. 2
  4147. 1
  4148. 2
  4149. 3
  4150. 3
  4151. 4
  4152. 11
  4153. 5
  4154. 0
  4155. 17
  4156. 16
  4157. 1
  4158. 1
  4159. 17
  4160. 18
  4161. 3
  4162. 2
  4163. 22
  4164. 18
  4165. 2
  4166. 3
  4167. 10
  4168. 28
  4169. 1
  4170. 4
  4171. 10
  4172. 30
  4173. 3
  4174. 5
  4175. 17
  4176. 30
  4177. 3
  4178. 0
  4179. 1
  4180. 1
  4181. 2
  4182. 3
  4183. 4
  4184. 4
  4185. 5
  4186. 1
  4187. 5
  4188. 12
  4189. 8
  4190. 0
  4191. 3
  4192. 16
  4193. 1
  4194. 1
  4195. 3
  4196. 18
  4197. 3
  4198. 2
  4199. 7
  4200. 18
  4201. 3
  4202. 3
  4203. 7
  4204. 9
  4205. 3
  4206. 4
  4207. 10
  4208. 9
  4209. 3
  4210. 5
  4211. 10
  4212. 10
  4213. 2
  4214. 6
  4215. 10
  4216. 16
  4217. 1
  4218. 7
  4219. 10
  4220. 18
  4221. 3
  4222. 8
  4223. 10
  4224. 22
  4225. 2
  4226. 0
  4227. 1
  4228. 1
  4229. 2
  4230. 3
  4231. 2
  4232. 3
  4233. 4
  4234. 4
  4235. 5
  4236. 6
  4237. 7
  4238. 2
  4239. 7
  4240. 7
  4241. 8
  4242. 0
  4243.  
  4244. 76
  4245. z(t) = (x(t) + z(t-1) + z(t-2)) / 3
  4246.  
  4247. NOTE: time is measured in clock ticks.
  4248.  
  4249. 14
  4250. 4
  4251. 7
  4252. 9
  4253. 0
  4254. 5
  4255. 2
  4256. 9
  4257. 1
  4258. 0
  4259. 2
  4260. 6
  4261. 0
  4262. 3
  4263. 3
  4264. 6
  4265. 1
  4266. 3
  4267. 1
  4268. 9
  4269. 1
  4270. 5
  4271. 7
  4272. 7
  4273. 0
  4274. 8
  4275. 7
  4276. 12
  4277. 0
  4278. 1
  4279. 1
  4280. 7
  4281. 1
  4282. 3
  4283. 7
  4284. 10
  4285. 0
  4286. 1
  4287. 3
  4288. 10
  4289. 1
  4290. 1
  4291. 7
  4292. 11
  4293. 0
  4294. 8
  4295. 2
  4296. 11
  4297. 1
  4298. 2
  4299. 2
  4300. 12
  4301. 1
  4302. 4
  4303. 2
  4304. 12
  4305. 1
  4306. 5
  4307. 1
  4308. 13
  4309. 16
  4310. 3
  4311. 5
  4312. 17
  4313. 4
  4314. 2
  4315. 4
  4316. 5
  4317. 10
  4318. 4
  4319. 8
  4320. 15
  4321. 27
  4322. 6
  4323. 6
  4324. 3
  4325. 0
  4326. 0
  4327. 19
  4328. 1
  4329. 1
  4330. 2
  4331. 19
  4332. 3
  4333. 2
  4334. 2
  4335. 21
  4336. 3
  4337. 3
  4338. 5
  4339. 21
  4340. 2
  4341. 0
  4342. 1
  4343. 1
  4344. 2
  4345. 2
  4346. 3
  4347. 7
  4348. 5
  4349. 0
  4350. 14
  4351. 7
  4352. 1
  4353. 1
  4354. 16
  4355. 7
  4356. 3
  4357. 2
  4358. 16
  4359. 12
  4360. 3
  4361. 3
  4362. 12
  4363. 12
  4364. 3
  4365. 4
  4366. 12
  4367. 18
  4368. 3
  4369. 5
  4370. 13
  4371. 18
  4372. 2
  4373. 0
  4374. 1
  4375. 1
  4376. 2
  4377. 3
  4378. 2
  4379. 3
  4380. 4
  4381. 4
  4382. 5
  4383. 9
  4384. 6
  4385. 0
  4386. 6
  4387. 7
  4388. 1
  4389. 1
  4390. 10
  4391. 7
  4392. 2
  4393. 2
  4394. 8
  4395. 7
  4396. 3
  4397. 3
  4398. 8
  4399. 13
  4400. 3
  4401. 4
  4402. 4
  4403. 13
  4404. 3
  4405. 5
  4406. 4
  4407. 19
  4408. 3
  4409. 6
  4410. 5
  4411. 19
  4412. 2
  4413. 0
  4414. 2
  4415. 2
  4416. 1
  4417. 2
  4418. 3
  4419. 4
  4420. 3
  4421. 4
  4422. 5
  4423. 5
  4424. 6
  4425. 10
  4426. 1
  4427. 0
  4428. 9
  4429. 20
  4430. 1
  4431. 1
  4432. 13
  4433. 20
  4434. 2
  4435. 0
  4436. 1
  4437. 11
  4438. 5
  4439. 0
  4440. 17
  4441. 19
  4442. 1
  4443. 1
  4444. 18
  4445. 19
  4446. 3
  4447. 2
  4448. 18
  4449. 24
  4450. 3
  4451. 3
  4452. 14
  4453. 24
  4454. 3
  4455. 4
  4456. 14
  4457. 30
  4458. 3
  4459. 5
  4460. 15
  4461. 30
  4462. 2
  4463. 0
  4464. 1
  4465. 1
  4466. 2
  4467. 3
  4468. 2
  4469. 3
  4470. 4
  4471. 4
  4472. 5
  4473. 12
  4474. 7
  4475. 0
  4476. 19
  4477. 30
  4478. 1
  4479. 1
  4480. 21
  4481. 30
  4482. 3
  4483. 2
  4484. 21
  4485. 19
  4486. 3
  4487. 3
  4488. 22
  4489. 19
  4490. 2
  4491. 4
  4492. 21
  4493. 2
  4494. 3
  4495. 5
  4496. 1
  4497. 2
  4498. 3
  4499. 6
  4500. 1
  4501. 7
  4502. 3
  4503. 7
  4504. 2
  4505. 7
  4506. 2
  4507. 0
  4508. 1
  4509. 2
  4510. 1
  4511. 2
  4512. 3
  4513. 4
  4514. 2
  4515. 5
  4516. 4
  4517. 5
  4518. 6
  4519. 6
  4520. 7
  4521. 0
  4522.  
  4523. 203
  4524. z(t) = x(t)          if x(t) ≤ |delta(t)| or x(t) ≥ |delta(t)|
  4525.      = -|delta(t)|   if -|delta(t)| < x < |delta(t)|  and  z(t-1) < 0
  4526.      = +|delta(t)|   if -|delta(t)| < x < |delta(t)|  and  z(t-1) ≥ 0
  4527.  
  4528. 11
  4529. 0
  4530. 1
  4531. 3
  4532. 0
  4533. 1
  4534. 1
  4535. 3
  4536. 1
  4537. 5
  4538. 1
  4539. 4
  4540. 0
  4541. 1
  4542. 3
  4543. 4
  4544. 1
  4545. 1
  4546. 7
  4547. 6
  4548. 0
  4549. 2
  4550. 1
  4551. 6
  4552. 1
  4553. 0
  4554. 3
  4555. 7
  4556. 0
  4557. 1
  4558. 11
  4559. 7
  4560. 1
  4561. 5
  4562. 3
  4563. 7
  4564. 0
  4565. 1
  4566. 14
  4567. 8
  4568. 0
  4569. 2
  4570. 3
  4571. 8
  4572. 1
  4573. 1
  4574. 1
  4575. 9
  4576. 17
  4577. 5
  4578. 3
  4579. 3
  4580. 0
  4581. 0
  4582. 13
  4583. 1
  4584. 1
  4585. 4
  4586. 13
  4587. 3
  4588. 2
  4589. 4
  4590. 19
  4591. 3
  4592. 3
  4593. 9
  4594. 19
  4595. 2
  4596. 0
  4597. 1
  4598. 1
  4599. 2
  4600. 2
  4601. 3
  4602. 4
  4603. 3
  4604. 0
  4605. 0
  4606. 27
  4607. 1
  4608. 1
  4609. 4
  4610. 27
  4611. 3
  4612. 2
  4613. 4
  4614. 21
  4615. 3
  4616. 3
  4617. 9
  4618. 21
  4619. 2
  4620. 0
  4621. 1
  4622. 2
  4623. 1
  4624. 2
  4625. 3
  4626. 6
  4627. 1
  4628. 0
  4629. 13
  4630. 20
  4631. 1
  4632. 1
  4633. 22
  4634. 20
  4635. 2
  4636. 0
  4637. 1
  4638. 7
  4639. 5
  4640. 0
  4641. 0
  4642. 11
  4643. 1
  4644. 1
  4645. 11
  4646. 11
  4647. 3
  4648. 2
  4649. 11
  4650. 17
  4651. 2
  4652. 3
  4653. 2
  4654. 11
  4655. 3
  4656. 4
  4657. 0
  4658. 25
  4659. 1
  4660. 5
  4661. 2
  4662. 25
  4663. 3
  4664. 0
  4665. 3
  4666. 1
  4667. 2
  4668. 3
  4669. 1
  4670. 4
  4671. 5
  4672. 3
  4673. 5
  4674. 8
  4675. 4
  4676. 0
  4677. 11
  4678. 23
  4679. 1
  4680. 1
  4681. 11
  4682. 27
  4683. 3
  4684. 2
  4685. 16
  4686. 27
  4687. 3
  4688. 3
  4689. 16
  4690. 18
  4691. 3
  4692. 4
  4693. 22
  4694. 18
  4695. 2
  4696. 0
  4697. 1
  4698. 1
  4699. 2
  4700. 3
  4701. 2
  4702. 3
  4703. 4
  4704. 0
  4705.  
  4706. 182
  4707. When “start” is poked, values are read from “x” and ”y”.  Then:
  4708.  
  4709. • If “x” > “y” then “greater” is poked.
  4710.  
  4711. • If “x” = “y” then “equal” is poked.
  4712.  
  4713. • If “x” < “y” then “less” is poked.
  4714.  
  4715. 16
  4716. 4
  4717. 2
  4718. 8
  4719. 0
  4720. 6
  4721. 1
  4722. 8
  4723. 1
  4724. 5
  4725. 2
  4726. 9
  4727. 0
  4728. 6
  4729. 3
  4730. 9
  4731. 1
  4732. 6
  4733. 7
  4734. 10
  4735. 0
  4736. 7
  4737. 2
  4738. 10
  4739. 1
  4740. 0
  4741. 2
  4742. 11
  4743. 0
  4744. 6
  4745. 11
  4746. 11
  4747. 1
  4748. 6
  4749. 14
  4750. 12
  4751. 0
  4752. 7
  4753. 11
  4754. 12
  4755. 1
  4756. 7
  4757. 13
  4758. 13
  4759. 0
  4760. 1
  4761. 2
  4762. 13
  4763. 1
  4764. 7
  4765. 14
  4766. 14
  4767. 0
  4768. 2
  4769. 2
  4770. 14
  4771. 1
  4772. 7
  4773. 15
  4774. 15
  4775. 0
  4776. 3
  4777. 2
  4778. 15
  4779. 1
  4780. 2
  4781. 6
  4782. 4
  4783. 16
  4784. 7
  4785. 12
  4786. 16
  4787. 8
  4788. 8
  4789. 3
  4790. 0
  4791. 0
  4792. 12
  4793. 1
  4794. 1
  4795. 2
  4796. 12
  4797. 3
  4798. 2
  4799. 2
  4800. 18
  4801. 3
  4802. 3
  4803. 4
  4804. 18
  4805. 2
  4806. 0
  4807. 1
  4808. 1
  4809. 2
  4810. 2
  4811. 3
  4812. 9
  4813. 3
  4814. 0
  4815. 0
  4816. 26
  4817. 1
  4818. 1
  4819. 2
  4820. 26
  4821. 3
  4822. 2
  4823. 2
  4824. 20
  4825. 3
  4826. 3
  4827. 4
  4828. 20
  4829. 2
  4830. 0
  4831. 1
  4832. 2
  4833. 1
  4834. 2
  4835. 3
  4836. 10
  4837. 1
  4838. 0
  4839. 8
  4840. 19
  4841. 1
  4842. 1
  4843. 12
  4844. 19
  4845. 2
  4846. 0
  4847. 1
  4848. 11
  4849. 3
  4850. 0
  4851. 11
  4852. 0
  4853. 1
  4854. 1
  4855. 11
  4856. 8
  4857. 3
  4858. 2
  4859. 6
  4860. 8
  4861. 3
  4862. 3
  4863. 6
  4864. 16
  4865. 2
  4866. 0
  4867. 1
  4868. 2
  4869. 1
  4870. 2
  4871. 3
  4872. 12
  4873. 5
  4874. 0
  4875. 6
  4876. 22
  4877. 1
  4878. 1
  4879. 6
  4880. 24
  4881. 3
  4882. 2
  4883. 10
  4884. 24
  4885. 3
  4886. 3
  4887. 10
  4888. 12
  4889. 3
  4890. 4
  4891. 14
  4892. 12
  4893. 3
  4894. 5
  4895. 14
  4896. 16
  4897. 2
  4898. 0
  4899. 1
  4900. 1
  4901. 2
  4902. 3
  4903. 2
  4904. 3
  4905. 4
  4906. 4
  4907. 5
  4908. 13
  4909. 3
  4910. 0
  4911. 13
  4912. 22
  4913. 1
  4914. 1
  4915. 13
  4916. 30
  4917. 3
  4918. 2
  4919. 4
  4920. 30
  4921. 3
  4922. 3
  4923. 4
  4924. 38
  4925. 2
  4926. 0
  4927. 1
  4928. 2
  4929. 1
  4930. 2
  4931. 3
  4932. 14
  4933. 3
  4934. 0
  4935. 14
  4936. 22
  4937. 1
  4938. 1
  4939. 14
  4940. 31
  4941. 3
  4942. 2
  4943. 11
  4944. 31
  4945. 3
  4946. 3
  4947. 11
  4948. 38
  4949. 2
  4950. 0
  4951. 1
  4952. 2
  4953. 1
  4954. 2
  4955. 3
  4956. 15
  4957. 3
  4958. 0
  4959. 15
  4960. 22
  4961. 1
  4962. 1
  4963. 15
  4964. 30
  4965. 3
  4966. 2
  4967. 18
  4968. 30
  4969. 3
  4970. 3
  4971. 18
  4972. 38
  4973. 2
  4974. 0
  4975. 1
  4976. 1
  4977. 2
  4978. 2
  4979. 3
  4980. 0
  4981.  
  4982. 200
  4983. Let “dt” be the instance information for this box; “dt” clock ticks following system initialization, “tick” is poked.  Then “dt” clock ticks after that, “tick” is poked again, and so on ad infinitum.
  4984.  
  4985. 8
  4986. 4
  4987. 7
  4988. 2
  4989. 0
  4990. 3
  4991. 2
  4992. 2
  4993. 1
  4994. 3
  4995. 14
  4996. 7
  4997. 0
  4998. 1
  4999. 2
  5000. 7
  5001. 1
  5002. 4
  5003. 14
  5004. 6
  5005. 0
  5006. 3
  5007. 11
  5008. 6
  5009. 1
  5010. 4
  5011. 11
  5012. 7
  5013. 1
  5014. 0
  5015. 14
  5016. 7
  5017. 0
  5018. 3
  5019. 0
  5020. 3
  5021. 6
  5022. 3
  5023. 12
  5024. 16
  5025. 4
  5026. 3
  5027. 16
  5028. 3
  5029. 2
  5030. 1
  5031. 0
  5032. 7
  5033. 19
  5034. 1
  5035. 1
  5036. 12
  5037. 19
  5038. 2
  5039. 0
  5040. 1
  5041. 6
  5042. 5
  5043. 0
  5044. 5
  5045. 22
  5046. 1
  5047. 1
  5048. 5
  5049. 26
  5050. 3
  5051. 2
  5052. 9
  5053. 26
  5054. 3
  5055. 3
  5056. 9
  5057. 12
  5058. 3
  5059. 4
  5060. 14
  5061. 12
  5062. 3
  5063. 5
  5064. 14
  5065. 16
  5066. 2
  5067. 0
  5068. 1
  5069. 1
  5070. 2
  5071. 3
  5072. 2
  5073. 3
  5074. 4
  5075. 4
  5076. 5
  5077. 7
  5078. 8
  5079. 0
  5080. 14
  5081. 22
  5082. 1
  5083. 1
  5084. 14
  5085. 30
  5086. 3
  5087. 2
  5088. 11
  5089. 30
  5090. 3
  5091. 3
  5092. 11
  5093. 38
  5094. 2
  5095. 4
  5096. 1
  5097. 30
  5098. 3
  5099. 5
  5100. 1
  5101. 14
  5102. 3
  5103. 6
  5104. 5
  5105. 14
  5106. 3
  5107. 7
  5108. 5
  5109. 16
  5110. 2
  5111. 8
  5112. 5
  5113. 12
  5114. 1
  5115. 0
  5116. 1
  5117. 2
  5118. 1
  5119. 2
  5120. 3
  5121. 4
  5122. 2
  5123. 5
  5124. 4
  5125. 5
  5126. 6
  5127. 6
  5128. 7
  5129. 8
  5130. 6
  5131. 0
  5132.  
  5133. 737
  5134. When “start” is poked, values are read from “x” and “delta”.  Then:
  5135.  
  5136. • If x ≤ -|delta| or x ≥ |delta|, then x is written to “z”.
  5137.  
  5138. • If -|delta| < x < |delta|, then if the last value previously written to “z” was negative, then -|delta| is written to “z”, else |delta| is written to “z”.  (The first time “start” is poked, nothing has been written to “z” yet, but for purposes of this case the last value written is treated as non-negative.)
  5139.  
  5140. Finally, “done” is poked.
  5141.  
  5142.  
  5143. In short, this box makes sure it never outputs a value closer to zero than |delta|.  Furthermore, it exhibits hysteresis in avoiding zero, so small oscillations in input (i.e., small compared to |delta|) will not cause the output value to oscillate between ±|delta|.
  5144.  
  5145. 323
  5146. real last_z = 0;
  5147.  
  5148. /*------------------------------------*/
  5149.  
  5150. start:
  5151. {
  5152.   real input, d, output;
  5153.  
  5154.   input = read (x);
  5155.   d = read (delta);
  5156.   if (d < 0) d = -d;
  5157.  
  5158.   if ((input <= -d) || (input >= d)) output = input;
  5159.   else if (last_z < 0) output = -d;
  5160.   else output = d;
  5161.  
  5162.   write (z, output);
  5163.   poke (done);
  5164.   last_z = output;
  5165. }
  5166.  
  5167. 0
  5168.  
  5169. 0
  5170. 5629
  5171. 6301
  5172. 6301
  5173. 1
  5174. 6366
  5175. 7004
  5176. 7004
  5177. 2
  5178. 7069
  5179. 7240
  5180. 7240
  5181. 3
  5182. 7305
  5183. 7465
  5184. 7465
  5185. 4
  5186. 7530
  5187. 7642
  5188. 7706
  5189. 5
  5190. 7709
  5191. 7834
  5192. 7898
  5193. 6
  5194. 7901
  5195. 8017
  5196. 8081
  5197. 7
  5198. 8084
  5199. 8380
  5200. 8961
  5201. 8
  5202. 8964
  5203. 9077
  5204. 9145
  5205. 9
  5206. 9148
  5207. 9455
  5208. 9883
  5209. 10
  5210. 9886
  5211. 9981
  5212. 10033
  5213. 11
  5214. 10036
  5215. 10234
  5216. 10384
  5217. 12
  5218. 10387
  5219. 10583
  5220. 10731
  5221. 13
  5222. 10734
  5223. 10844
  5224. 10897
  5225. 14
  5226. 10900
  5227. 11041
  5228. 11179
  5229. 15
  5230. 11182
  5231. 11355
  5232. 11437
  5233. 16
  5234. 11440
  5235. 11612
  5236. 11691
  5237. 17
  5238. 11694
  5239. 11907
  5240. 12095
  5241. 18
  5242. 12098
  5243. 12188
  5244. 12215
  5245. 19
  5246. 12218
  5247. 12330
  5248. 12384
  5249. 20
  5250. 12387
  5251. 12506
  5252. 12612
  5253. 21
  5254. 12615
  5255. 12800
  5256. 12986
  5257. 22
  5258. 12989
  5259. 13389
  5260. 13389
  5261. 23
  5262. 13392
  5263. 13695
  5264. 13965
  5265. 24
  5266. 13968
  5267. 13991
  5268. 14377
  5269. 25
  5270. 14380
  5271. 14403
  5272. 14789
  5273. 26
  5274. 14792
  5275. 14845
  5276. 15283
  5277. 27
  5278. 15286
  5279. 15303
  5280. 15573
  5281. 28
  5282. 15576
  5283. 15634
  5284. 16159
  5285. 29
  5286. 16162
  5287. 16239
  5288. 16435
  5289. 30
  5290. 16438
  5291. 16574
  5292. 17265
  5293. 31
  5294. 17268
  5295. 17348
  5296. 17952
  5297. 32
  5298. 17955
  5299. 18163
  5300. 18549
  5301. 33
  5302. 18552
  5303. 18739
  5304. 19343
  5305. 34
  5306. 19346
  5307. 19551
  5308. 19875
  5309. 35
  5310. 19878
  5311. 20620
  5312. 20948
  5313.